package com.atguigu.gmall.pms.service;

import com.atguigu.core.bean.Resp;
import com.atguigu.gmall.pms.vo.AttrGroupVO;
import com.atguigu.gmall.pms.vo.BaseGroupVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.pms.entity.AttrGroupEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;

import java.util.List;


/**
 * 属性分组
 *
 * @author santu
 * @email 1215866929.qq.com
 * @date 2022-01-08 17:21:39
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageVo queryPage(QueryCondition params);

    PageVo queryByCidPage(QueryCondition queryCondition, Long cid);

    AttrGroupVO queryById(Long gid);

    List<AttrGroupVO> queryByCid(Long catId);

    List<BaseGroupVO> queryItemGroupVoByCidAndSpuId(Long cid, Long spuId);
}

